The urllib2 module defines functions and classes which help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more. The optional timeout parameter specifies a timeout in seconds for blocking oper